<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>字数统计</title>
	</head>
	<body>
		<form>
			<input id="J_sumChar" class="" />
			<span id="J_sumCharNum" class="m-num">0</span>
		</form>
		
		<script src="static/js/jquery/jquery-1.10.1.min.js"></script>
		<script src="static/js/jquery/my_plugs/jquery.sumOfChars.js"></script>
		<script>
			$('#J_sumChar').sumOfChars({maxLength: 50}, function(n){
				$("#J_sumCharNum").html(n);
			});
		</script>
	</body>
</html>
